package leetcode.code0059;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution59 implements IDebug {

    public abstract int[][] generateMatrix(int n);

	@Override
	public void debug1() {
		int n = 3;
		String str = "[[1,2,3],[8,9,4],[7,6,5]]";
		int[][] e = HelpDebug.str2array1(str);
		int[][] r = this.generateMatrix(n);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		int n = 1;
		String str = "[[1]]";
		int[][] e = HelpDebug.str2array1(str);
		int[][] r = this.generateMatrix(n);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		// TODO Auto-generated method stub

	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
